package team.star.werespos.service;

import team.star.werespos.model.entity.Role;

import java.util.List;

/**
 * RoleService interface<br/>
 *
 * @author CAI
 * @since 2019/04/09
 */
public interface RoleService {

    Role getOne(Integer rid);

    void insertOne(Role role);

    List<Role> listRole();

    void updateById(Role role);

    void deleteById(Role role);

}
